<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body,
        html {
            min-width: 320px;
            max-width: 540px;
            margin: 0 auto;
            font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
        }

        header {
            height: 108px;
        }

        header img {
            height: 100%;
            width: auto;
        }

        nav {
            padding: 4px;
            border: 1px solid #ccc;
        }
        nav a{
            font-size: 12px;
            color: #fff;
            text-decoration: none;
            text-shadow: 0px  2px  1px rgba(0, 0, 0, 0.5);
        }

        .row {
            height: 90px;
            display: flex;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 5px;
        }
        .row:nth-child(2) div{
            background-color: green;
        }
        .row:nth-child(3) div{
            background-color:skyblue;
        }
        .row em {
            line-height: 45px;
            font-style: normal;
            height: 45px;
            text-align: center;
            display: block;
        }
        .row i{
            width: 45px;
            height: 45px;
            background: url(images/ctrip.png) no-repeat 0 -127px;
            display: block;
            background-size: 104px;
            margin: -5px auto 0;
        }
        .row .ico_flight{
            background-position: 0 -288px;
        }
        .row div {
            height: 100%;
            flex: 1;
            background-color: #ff697f;
            border-right: 1px solid #fff;
        }

        .row div:last-child {
            border-right: 0;
        }

        .row div a {
            display: block;
            height: 100%;
            width: 100%;
    
        }
        .row33 {
            display: flex;
            flex-direction: column;
        }
        .row .row33 a {
            flex: 1;
            line-height: 45px;
            text-align: center;
          
        }
        .row .row33 a:first-child{
            border-bottom: 1px solid #fff;
        }
    </style>
</head>

<body>
    <header>
        <img src="./images/banner.jpg" alt="">
    </header>
    <nav>
        <div class="row">
            <div>
                <a href="#">
                    <em>酒店</em>
                    <i></i>
                </a>
            </div>
            <div class="row33">
                <a href="#">海外酒店</a>
                <a href="#">特价酒店</a>
            </div>
            <div class="row33">
                <a href="#">团购</a>
                <a href="#">大家一起</a>
            </div>
        </div>
        <div class="row">
                <div>
                    <a href="#">
                        <em>酒店</em>
                        <i class="ico_flight"></i>
                    </a>
                </div>
                <div class="row33">
                    <a href="#">海外酒店</a>
                    <a href="#">特价酒店</a>
                </div>
                <div class="row33">
                    <a href="#">团购</a>
                    <a href="#">大家一起</a>
                </div>
            </div>
            <div class="row">
                    <div>
                        <a href="#">
                            <em>酒店</em>
                            <i></i>
                        </a>
                    </div>
                    <div class="row33">
                        <a href="#">海外酒店</a>
                        <a href="#">特价酒店</a>
                    </div>
                    <div class="row33">
                        <a href="#">团购</a>
                        <a href="#">大家一起</a>
                    </div>
                </div>
                <div class="row">
                        <div class="row33">
                                <a href="#">海外酒店</a>
                                <a href="#">特价酒店</a>
                            </div>
                        <div class="row33">
                            <a href="#">海外酒店</a>
                            <a href="#">特价酒店</a>
                        </div>
                        <div class="row33">
                            <a href="#">团购</a>
                            <a href="#">大家一起</a>
                        </div>
                    </div>
    </nav>

</body>

</html>